/**
 * Project hdmap
 * @author shengjialiang
 * @version v1.0
 */

#ifndef MineTool_h__
#define MineTool_h__

#include "map_minedatarender/MineLayer.h"

namespace Mine
{
	class CMineLayer;
	class MAP_MINEDATARENDER_EXPORT MineTool
	{
	public:
		//static bool startClip(CMineLayer* layer, const osg::Plane& clipPlane);

		static bool startClip(CMineLayer* layer, const osg::Vec3& startPt, const osg::Vec3& endPt);

		static bool startClip(CMineLayer* layer, const std::vector<osg::Vec3>& pts);
		static bool stopClip(CMineLayer* layer);

		static void setLayerShowStyle(CMineLayer* layer, ShowStyle style = ShowStyle::TEXTURE);
	};
}
#endif // MineTool_h__